package com.suns.sharephoto.entity;

import lombok.Data;
import java.time.LocalDateTime;

@Data
public class Photo {
    private Integer id;
    private Integer userId;
    private String imagePath;
    private Integer likes;
    private LocalDateTime uploadTime;
    
    // 关联的用户信息
    private User user;
} 